/************************************************************
 * Project Name         [Thinking_In_Java]
 * File Name            [Talent.java]
 * Creation Date        [24-Jul-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_principles.isp.example01;

/**
 * 星探
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class Talent extends AbstractTalent {

	public Talent(IGoodBodyGirl goodBodyGirl) {
		super(goodBodyGirl);
	}

	public Talent(IGreatTemperamentGirl greatTemperamentGirl) {
		super(greatTemperamentGirl);
	}

	@Override
	public void show() {
		System.out.println("---------美女的信息如下---------");
		if (super.goodBodyGirl != null) {
			super.goodBodyGirl.goodLooking();
			super.goodBodyGirl.niceFigure();
		}

		if (super.greatTemperamentGirl != null) {
			super.greatTemperamentGirl.greateTemperament();
		}
	}

}
